package cn.bass.marketing.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.bass.marketing.entity.base.BaseEntity;

import java.io.Serializable;

/**
 * 营销奖品
 */
@Data
@ApiModel(value = "营销奖品")
@TableName("marketing_prize")
@EqualsAndHashCode(callSuper = true)
public class MarketingPrizeDO extends BaseEntity implements Serializable {
    /**
    * 主键
    */
    @JsonProperty("cId")
    @ApiModelProperty(value = "主键")
    @TableId(value = "C_ID", type = IdType.AUTO)
    private Integer cId;

    /**
    * 奖品ID
    */
    @JsonProperty("cPrizeId")
    @ApiModelProperty(value = "奖品ID")
    private Integer cPrizeId;

    /**
    * 奖品名称
    */
    @JsonProperty("cName")
    @ApiModelProperty(value = "奖品名称")
    private String cName;

    /**
    * 奖品对应策略得Key
    */
    @JsonProperty("cPrizeKey")
    @ApiModelProperty(value = "奖品对应策略得Key")
    private String cPrizeKey;

    /**
    * 状态(ENABLED-启用, STOP-停用, DELETE-删除)
    */
    @JsonProperty("cStatus")
    @ApiModelProperty(value = "状态(ENABLED-启用, STOP-停用, DELETE-删除)")
    private String cStatus;

    /**
    * 奖品配置
    */
    @JsonProperty("cPrizeConfig")
    @ApiModelProperty(value = "奖品配置")
    private String cPrizeConfig;

    /**
    * 奖品描述
    */
    @JsonProperty("cPrizeDesc")
    @ApiModelProperty(value = "奖品描述")
    private String cPrizeDesc;
}